﻿using System.ComponentModel.DataAnnotations;

namespace WidgetsDesign.API.Models
{
    public class RechargeCard
    {
        [Key]
        [Required]
        public int Id { get; set; }
        [Required]
        public string Key { get; set; }
        [Required]
        public double Value { get; set; }
        [Required]
        public DateTime CreateTime { get; set; }
    }
}
